Hey guys,
I trying to write two applescripts where one will reference the other for login info.
Basically, I want to use this to upload files onto an ftp server, but I want it to be flexible so I can use it on multiple systems.
This is what I'm looking to do:
Script 1: (All Info Should be Saved For Reference for Script 2)
1. Ask for Host name
2. Ask for User Name
3. Ask for Password.
4. Ask for port number
5. Startup FTP Application (Use info above and actually login)
5. Ask for destination upload folder
6. Save all info
7. Logout and quit application
Script 2: (To be used on selected file to upload)
1. Startup FTP Server application
2. Reference Script 1 for login info
3. Login.
4. Reference Script 1 for destination upload folder
5. Upload file
6. Log Out and Quit.
Any ideas on where to get started, or where I can go to find help? I've never written code, and I am learning on the fly. Thanks Guys!
I trying to write two applescripts where one will reference the other for login info.
Basically, I want to use this to upload files onto an ftp server, but I want it to be flexible so I can use it on multiple systems.
This is what I'm looking to do:
Script 1: (All Info Should be Saved For Reference for Script 2)
1. Ask for Host name
2. Ask for User Name
3. Ask for Password.
4. Ask for port number
5. Startup FTP Application (Use info above and actually login)
5. Ask for destination upload folder
6. Save all info
7. Logout and quit application
Script 2: (To be used on selected file to upload)
1. Startup FTP Server application
2. Reference Script 1 for login info
3. Login.
4. Reference Script 1 for destination upload folder
5. Upload file
6. Log Out and Quit.
Any ideas on where to get started, or where I can go to find help? I've never written code, and I am learning on the fly. Thanks Guys!