ScriptSpot is a diverse online community of artists and developers who come together to find and share scripts that empower their creativity with 3ds Max. Our users come from all parts of the world and work in everything from visual effects to gaming, architecture, students or hobbyists.
I've never used DOS commands. Seems incredible easy! Disadvantage is that you need an extra text file to do this, should be possible to create this at run time. I'll will take a look how to encrypt text files, I've seen there's the "System.Security.Cryptographic" namespace. Thanks for this simple solution, I will definitely try this one!
Did you try scripting FTP with buildin DOS commands, its easy.
Here is example script for upload:
OPEN
ftpserver
Username Password
CD ftp_directory
LCD file_directory
MPUT *
BYE
Example download:
OPEN
ftpserver
Username
Password
CD ftp_directory
LCD file_directory
MGET *
BYE
And using this commands saved in a text file (with real data of'cuz like your server name, user name, pass, and so on) and then call FTP command like this: FTP -v -i -s:script_file
Where "script_file" is the full file name of your saved script file.
Also can save the session log if you like: FTP -v -i -s:script_file >> session.log
Comments
never thought about DOS
I've never used DOS commands. Seems incredible easy! Disadvantage is that you need an extra text file to do this, should be possible to create this at run time. I'll will take a look how to encrypt text files, I've seen there's the "System.Security.Cryptographic" namespace. Thanks for this simple solution, I will definitely try this one!
hi Jos
Did you try scripting FTP with buildin DOS commands, its easy.
Here is example script for upload:
OPEN ftpserver Username Password CD ftp_directory LCD file_directory MPUT * BYEExample download:
OPEN ftpserver Username Password CD ftp_directory LCD file_directory MGET * BYEAnd using this commands saved in a text file (with real data of'cuz like your server name, user name, pass, and so on) and then call FTP command like this:
FTP -v -i -s:script_fileWhere "script_file" is the full file name of your saved script file.
Also can save the session log if you like:
FTP -v -i -s:script_file >> session.log;)
my recent MAXScripts RSS (archive here)