Skip to content

Commit

Permalink
changing value
Browse files Browse the repository at this point in the history
  • Loading branch information
gchauhan-aot committed Jan 21, 2025
1 parent 78bcbfd commit f9f6aa5
Showing 1 changed file with 3 additions and 1 deletion.
4 changes: 3 additions & 1 deletion scheduler/src/modules/garms/garms.service.ts
Original file line number Diff line number Diff line change
Expand Up @@ -15,6 +15,8 @@ export class GarmsService {
// Connect to FTP server
await this.connectToFtp();
console.log('ftp cliet: ', this.client);
console.log('directory',fs.Dir);
await this.client.uploadFrom('Hello world', 'GARMD.GA4701.WS.BATCH(+1)');
console.log('Current working directory', await this.client.pwd());
await this.client.cd('GARMSD.GA4701.WS.BATCH');
console.log('pwd: ', await this.client.pwd());
Expand All @@ -36,7 +38,7 @@ export class GarmsService {
await this.client.access({
host: 'bcsc01.gov.bc.ca', // Replace with your FTPS server host
user: 'PI74967', // Your username for the FTPS server
password: 'TSPTG8RM', // Your password
password: 'dummypwd', // Your password
secure: true, // Enabling FTPS (SSL/TLS encryption)
secureOptions: {
rejectUnauthorized: false, // Depending on your certificate, this can be true or false
Expand Down

0 comments on commit f9f6aa5

Please sign in to comment.