Jump to content

List files to .txt then ftp


Recommended Posts

Posted

Is it possible to automaticly list files in 2 folders to one .txt file (or 2 txt-files), then ftp it to a server?

Like once a day in background when i start my computer (or every time i start my computer)?


Posted

maybye you should try to do an automatic ftp backup, and keep a log of the ftp transfer. (with all the name of files transfered) it seem to me like a way of resolving your need...

Posted
maybye you should try to do an automatic ftp backup, and keep a log of the ftp transfer. (with all the name of files transfered) it seem to me like a way of resolving your need...

No, i don't want to transfer the files in the folders, only list them to a txt then ftp. Then ftp the txt file (with the name of the files in the folders).

Posted
maybye you should try to do an automatic ftp backup, and keep a log of the ftp transfer. (with all the name of files transfered) it seem to me like a way of resolving your need...

No, i don't want to transfer the files in the folders, only list them to a txt then ftp. Then ftp the txt file (with the name of the files in the folders).

sorry I misunterdood, I dont have any solution :(

Posted (edited)

I made a .bat file.. now it's working. Code:

dir "c:\moviez" /s /b /l > c:\d\B-Moviez.txt

dir "c:\mp3" /s /b /l > c:\d\B-MP3.txt

wscript "C:\D\Misc\Script\dump.vbs" "c:\d\B-Moviez.txt" "c:\d\B-MP3.txt"

dump.vbs = regular ftp-dropcut-script.vbs

Edited by Foppah

Create an account or sign in to comment

You need to be a member in order to leave a comment

Create an account

Sign up for a new account in our community. It's easy!

Register a new account

Sign in

Already have an account? Sign in here.

Sign In Now
  • Recently Browsing   0 members

    • No registered users viewing this page.
×
×
  • Create New...